import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBBaseRouter/YBApplication.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBBaseRouter/YBNavigator.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBProjectPopPage/YBWorkTaiInfoShowVipPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/yb_chinese_text/yb_chinese_text.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBUtils/YBBaseUtils/YBisLoginUtils.dart';


class YBSetMainPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
       child: Scaffold(
         appBar: AppBar(
            elevation: 0,
            title: Text(YBChineseText.mineSettingTitle,style: YBTextStyle.TextStyle30313320Medium,),
         ),
         body: SingleChildScrollView(
           child: Padding(
             padding: EdgeInsets.only(left: 0,right: 0),
             child: Column(
               children: [
                 Container(
                   height: YBTextStyle.adapterSize10,
                 ),
                 InkWell(
                   child: Container(
                     color: YBColor.white,
                     height: YBTextStyle.adapterSize58,
                     child: Padding(
                       padding: EdgeInsets.only(left: YBTextStyle.adapterSize20,right: YBTextStyle.adapterSize20),
                       child: Row(
                         children: [
                           Container(
                               alignment: Alignment.centerLeft,
                               child: Text(YBChineseText.mineSetBindingTitle,style: YBTextStyle.findFaXiantText,)
                           ),
                           Spacer(),

                           Container(
                             child: Image.asset(YBImageStyle.getImagePath("findIconArrowRight"),width: 6,height: 10,),
                           ),
                         ],
                       ),
                     ),
                   ),
                   onTap: (){
                      YBApplication.router.navigateTo(context, '/mine/mineSettingPage/mineSettingAccontBindingPage');
                   },
                 ),
                 InkWell(
                   child: Container(
                     color: YBColor.white,
                     height: YBTextStyle.adapterSize58,
                     child: Padding(
                       padding: EdgeInsets.only(left: YBTextStyle.adapterSize20,right: YBTextStyle.adapterSize20),
                       child: Row(
                         children: [
                           Container(
                               alignment: Alignment.centerLeft,
                               child: Text(YBChineseText.mineQuanCengManagerTitle,style: YBTextStyle.findFaXiantText,)
                           ),
                           Spacer(),
                           Container(
                             child: Image.asset(YBImageStyle.getImagePath("findIconArrowRight"),width: YBTextStyle.adapterSize6,height: YBTextStyle.adapterSize10,),
                           ),
                         ],
                       ),
                     ),
                   ),
                   onTap: (){
                      YBApplication.router.navigateTo(context, '/mine/mineSettingPage/mineSettingQuanCengPingBiPage');
                   },
                 ),
                 Container(
                   height: YBTextStyle.adapterSize10,
                 ),
                 InkWell(
                   child: Container(
                     height: YBTextStyle.adapterSize58,
                     color: YBColor.white,
                     alignment: Alignment.center,
                     child: Text(YBChineseText.mineLogoutTitle,style: YBTextStyle.TextStyleA9AEB815,),
                   ),
                   onTap: (){
                     YBWorkTaiInfoShowVipPage.showLoginOutPage(context);
                   },
                 ),
               ],
             ),
           ),
         ),
       ),
    );
  }
}
